<?php

/* html/home/lingqu.tpl.html */
class __TwigTemplate_134de48087bff13d1c272c0fe5ad349248c80ca36359beae3506b22af2205b67 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo "<!DOCTYPE>
<html>
\t<head>
\t\t<meta charset='ust-8'>
\t\t<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">
\t\t<style>
\t\t*{
\t\t\tpadding:0;
\t\t\tmargin:0;
\t\t}
\t\t\t.head{
\t\t\t\twidth:100%;
\t\t\t}
\t\t\t.head img{
\t\t\t\twidth:100%;
\t\t\t}
\t\t\t
\t\t\t.content{
\t\t\t\tdisplay:flex;
\t\t\t\t flex-direction:column;
\t\t\t}
\t\t\t.user_input,.button{
\t\t\t\tdisplay:flex;
\t\t\t\tjustify-content:center;
\t\t\t\theight:3rem;
\t\t\t\tmargin-top:2rem;
\t\t\t}
\t\t\t.user_input input{
\t\t\t\tborder-radius:.5rem;
\t\t\t\tborder:1px solid #bbb;
\t\t\t\twidth:80%;
\t\t\t\t
\t\t\t}
\t\t\t.button button{
\t\t\t\twidth:80%;
\t\t\t\tborder-radius:.5rem;
\t\t\t\tbackground-color:#fed200;
\t\t\t\tborder:1px solid #bbb;
\t\t\t}
\t\t</style>
\t</head>
\t<body>
\t\t<div class='head'>
\t\t\t<img src='https://ofo-misc.ofo.com/static/share/img/Group.faa5a10.png'>
\t\t</div>
\t\t<div class='content'>
\t\t\t<div class='user_input'>
\t\t\t\t<input type='tel' id='phone' placeholder='请输入手机号' maxlength=11>
\t\t\t</div>
\t\t\t<div class='button'>
\t\t\t\t<button onclick='lingqu()'>立即领取</button>
\t\t\t</div>
\t\t</div>
\t\t<script src=\"/static/common/js/jquery-2.1.4.min.js\"></script>
\t\t<script src='/static/layer-v3.1.1/layer/mobile/layer.js'></script>
\t\t<script>
\t\t\tvar id = ";
        // line 57
        echo twig_escape_filter($this->env, ($context["lid"] ?? null), "html", null, true);
        echo ";
\t\t\tfunction lingqu(){
\t\t\t\tvar phone = \$('#phone').val();
\t\t\t\tif(  !phone  ){
\t\t\t\t\tlayer.open({
\t\t\t\t\t\tcontent: '手机号不能为空'
\t\t\t\t\t\t,btn: '我知道了'
\t\t\t\t\t});
\t\t\t\t}
\t\t\t\t\$.ajax({
\t\t\t\t\turl:'/home/linjiang',
\t\t\t\t\ttype:'post',
\t\t\t\t\tdataType:'json',
\t\t\t\t\tdata:{lid:id,phone:phone},
\t\t\t\t\tsuccess:function( data  ){
\t\t\t\t\t\tlayer.open({
\t\t\t\t\t\t\tcontent: data.message
\t\t\t\t\t\t\t,skin: 'msg'
\t\t\t\t\t\t\t,time: 3 //2秒后自动关闭
\t\t\t\t\t\t  });
\t\t\t\t\t\tif( data.code == 0 ){
\t\t\t\t\t\t\twindow.location.href = '/home/jiangping.html';
\t\t\t\t\t\t}
\t\t\t\t\t}
\t\t\t\t\t
\t\t\t\t})
\t\t\t}
\t\t</script>
\t</body>
</html>";
    }

    public function getTemplateName()
    {
        return "html/home/lingqu.tpl.html";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  77 => 57,  19 => 1,);
    }

    public function getSourceContext()
    {
        return new Twig_Source("<!DOCTYPE>
<html>
\t<head>
\t\t<meta charset='ust-8'>
\t\t<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">
\t\t<style>
\t\t*{
\t\t\tpadding:0;
\t\t\tmargin:0;
\t\t}
\t\t\t.head{
\t\t\t\twidth:100%;
\t\t\t}
\t\t\t.head img{
\t\t\t\twidth:100%;
\t\t\t}
\t\t\t
\t\t\t.content{
\t\t\t\tdisplay:flex;
\t\t\t\t flex-direction:column;
\t\t\t}
\t\t\t.user_input,.button{
\t\t\t\tdisplay:flex;
\t\t\t\tjustify-content:center;
\t\t\t\theight:3rem;
\t\t\t\tmargin-top:2rem;
\t\t\t}
\t\t\t.user_input input{
\t\t\t\tborder-radius:.5rem;
\t\t\t\tborder:1px solid #bbb;
\t\t\t\twidth:80%;
\t\t\t\t
\t\t\t}
\t\t\t.button button{
\t\t\t\twidth:80%;
\t\t\t\tborder-radius:.5rem;
\t\t\t\tbackground-color:#fed200;
\t\t\t\tborder:1px solid #bbb;
\t\t\t}
\t\t</style>
\t</head>
\t<body>
\t\t<div class='head'>
\t\t\t<img src='https://ofo-misc.ofo.com/static/share/img/Group.faa5a10.png'>
\t\t</div>
\t\t<div class='content'>
\t\t\t<div class='user_input'>
\t\t\t\t<input type='tel' id='phone' placeholder='请输入手机号' maxlength=11>
\t\t\t</div>
\t\t\t<div class='button'>
\t\t\t\t<button onclick='lingqu()'>立即领取</button>
\t\t\t</div>
\t\t</div>
\t\t<script src=\"/static/common/js/jquery-2.1.4.min.js\"></script>
\t\t<script src='/static/layer-v3.1.1/layer/mobile/layer.js'></script>
\t\t<script>
\t\t\tvar id = {{lid}};
\t\t\tfunction lingqu(){
\t\t\t\tvar phone = \$('#phone').val();
\t\t\t\tif(  !phone  ){
\t\t\t\t\tlayer.open({
\t\t\t\t\t\tcontent: '手机号不能为空'
\t\t\t\t\t\t,btn: '我知道了'
\t\t\t\t\t});
\t\t\t\t}
\t\t\t\t\$.ajax({
\t\t\t\t\turl:'/home/linjiang',
\t\t\t\t\ttype:'post',
\t\t\t\t\tdataType:'json',
\t\t\t\t\tdata:{lid:id,phone:phone},
\t\t\t\t\tsuccess:function( data  ){
\t\t\t\t\t\tlayer.open({
\t\t\t\t\t\t\tcontent: data.message
\t\t\t\t\t\t\t,skin: 'msg'
\t\t\t\t\t\t\t,time: 3 //2秒后自动关闭
\t\t\t\t\t\t  });
\t\t\t\t\t\tif( data.code == 0 ){
\t\t\t\t\t\t\twindow.location.href = '/home/jiangping.html';
\t\t\t\t\t\t}
\t\t\t\t\t}
\t\t\t\t\t
\t\t\t\t})
\t\t\t}
\t\t</script>
\t</body>
</html>", "html/home/lingqu.tpl.html", "D:\\soft\\phpstudy\\WWW\\liantongh5\\app\\views\\tpl\\html\\home\\lingqu.tpl.html");
    }
}
